package com.example.chcrm.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.chcrm.entity.common.ResponseMsg;
import com.example.chcrm.entity.consignor.CustomerCarBrand;
import com.example.chcrm.entity.consignor.CustomerCarModel;
import com.example.chcrm.entity.employee.EmployeeVo;

/**
 * @Author 邹
 * @Date 2025/4/20 17:47
 * @Version 1.0
 */
public interface CustomerCarModelService <T>{

    /**
     * 分页查询委托车型号
     */
    ResponseMsg<IPage<CustomerCarModel>> carModelList(CustomerCarModel customerCarModel, EmployeeVo emp);

    /**
     * 添加委托车型号
     *
     * @param customerCarModel
     * @param empVo
     * @return
     */
    ResponseMsg<Object> addCarModel(CustomerCarModel customerCarModel, EmployeeVo empVo);

    /**
     * 详情委托车型号
     *
     * @param id
     * @return
     */
    ResponseMsg<Object> carModelDetail(String id);

    /**
     * 修改
     *
     * @param customerCarModel
     * @param emp
     * @return
     */
    ResponseMsg<Object> updateCarModel(CustomerCarModel customerCarModel, EmployeeVo emp);

    ResponseMsg<Object> deleteCarmodel(CustomerCarModel customerCarModel, EmployeeVo empVo);
}
